using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using QLKS.DTO;
using QLKS.DAO;

namespace QLKS.BUS
{
    public class LoaiPhong_BUS
    {
        LoaiPhong_DAO obj = new LoaiPhong_DAO();

        //lay danh sach loai phong
        public DataTable LoaiPhong_Load()
        {
            return obj.LoaiPhong_Load();
        }

        //lay ma loai phong duoc chon
        public int GetMaLoaiPhong(Phong_DTO p)
        {
            return obj.GetMaLoaiPhong(p);
        }

        //lay so nguoi cua loai phong
        public int GetSoNguoi(LoaiPhong_DTO lp)
        {
            return obj.GetSoNguoi(lp);
        }
    }
}
